import * as types from '@/store/mutation-types';

export default {
  [types.SAVE_STATIS_DATA](state, payload) { //* 存住从后端拿到order数据
    state.orderStatisData = payload;
  },

  [types.SAVE_FIRST_OPTION_DATA](state, payload) { //* 存住拿到的 option 得数据 1
    state.firstOptionData = payload;
  },

  [types.SAVE_SECOND_OPTION_DATA](state, payload) { //* 存住拿到的 option 得数据 2
    state.secondOptionData = payload;
  },

  [types.SAVE_THIRD_OPTION_DATA](state, payload) { //* 存住拿到的 option 得数据 3
    state.thirdOptionData = payload;
  },
};
